<?php


namespace app\http\middleware;

use think\Request;

class Auth
{
public function handle(Request$request, \Closure $next,$dddd)
{
    if($request->param('id')==10){
        $request->dddd = 'hj';
        echo '管理员';
    }
    return $next($request);
}
}